listbase: Fix a problem with rubberbands
authorMatthias Clasen <mclasen@redhat.com>
Sat, 6 Jun 2020 03:18:00 +0000 (23:18 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Sat, 6 Jun 2020 03:18:00 +0000 (23:18 -0400)
commitf8b4083f4702b807a90809fc71a08ba071913357
tree7c159841a1e1eb0fa52c7ffa6064457efc92fc6b
parentb047b7838d86bc8ba78a13ca9a08211daaed10ef
listbase: Fix a problem with rubberbands

When I changed things to only collect the set
in the stop() function, I overlooked that this
has the side-effect of only handling items which
are backed by a widget at the time stop() is called.
If we make a big rubberband and autoscroll down too
far, we loose the items that go out the visible range
at the top. Fix that by maintaining the set as we go.
gtk/gtklistbase.c